package cn.com.duiba.millionaire.center.api.remoteservice;

import cn.com.duiba.boot.netflix.feign.AdvancedFeignClient;
import cn.com.duiba.millionaire.center.api.dto.MillionaireConsumerDto;

/**
 * Created by zzy on 2018/1/18.
 */
@AdvancedFeignClient
public interface RemoteMillionaireConsumerService {

    MillionaireConsumerDto findByConsumerId(Long consumerId, Long appId);

    MillionaireConsumerDto findByConsumerIdNoCache(Long consumerId, Long appId);

    MillionaireConsumerDto findByConsumerIdWithShareCode(Long consumerId, Long appId, String shareCode);

    MillionaireConsumerDto findByConsumerIdNoCacheWithShareCode(Long consumerId, Long appId, String shareCode);
}
